<template>
  <div>
    <div class="desc">
      <label>交办单位：</label>
      <span>
        {{ detail.warningMendDetail.assign_dept_name }}
      </span>
    </div>
    <div class="desc">
      <label>交办时间：</label>
      <span>
        {{ detail.warningMendDetail.assign_time }}
      </span>
    </div>
    <div class="desc">
      <label>整改单类型：</label>
      <span>
        {{ detail.warningMendDetail.type }}
      </span>
    </div>
    <div class="desc">
      <label>整改单位：</label>
      <span>
        {{ detail.warningMendDetail.undertake_dept_name }}
      </span>
    </div>
    <div class="desc">
      <label>整改期限：</label>

      <span> {{ detail.warningMendDetail.mend_days }} 天 </span>
    </div>
    <div class="desc">
      <label>整改建议：</label>
      <span>
        {{ detail.warningMendDetail.assign_opinion }}
      </span>
    </div>
    <div class="desc">
      <label>附件：</label>
      <CommonUpload
        tableName="rectification"
        useType="send"
        :pid="detail.warningMendDetail.id"
        :showUploadBtn="false"
        :disabled="true"
      ></CommonUpload>
    </div>
  </div>
</template>

<script>
import CommonUpload from "@/components/Common/CommonUpload.vue";
export default {
  components: { CommonUpload },
  props: {
    detail: {
      type: Object,
      default: null,
    },
  },
};
</script>

<style lang="scss" scoped>
</style>